package com.example.springbootsenior;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableCaching
@EnableAsync//异步任务
@EnableScheduling//定时任务
public class SpringBootSeniorApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootSeniorApplication.class, args);
    }

}
